	<%@page import="com.shop.pandian.app.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<script>
$(document).ready(function() {
})
</script>
<%@ include file="base.jsp" %>
<input type="hidden" id="id" name="id" value="${product.id}"/>
<div class="form-group">
	<div class="row">
	
		<div class="col-md-2 col-xs-4">
			<label>
			<span class="required">*</span><fmt:message key="Product.productName.title"/>:
			</label>
		</div>
		
		<div class="col-md-3 col-xs-8">	
			<form:input path="productName" id="productName" cssClass="{required:true,maxlength:100} form-control" maxlength="100" />
			<label class="error"><form:errors path="productName"/></label>
		</div>
		

	
		<div class="col-md-2 col-xs-4">
			<label>
			<fmt:message key="Product.productDesc.title"/>:
			</label>
		</div>
		
		<div class="col-md-3 col-xs-8">	
			<form:input path="productDesc" id="productDesc" cssClass="{maxlength:255} form-control" maxlength="255" />
			<label class="error"><form:errors path="productDesc"/></label>
		</div>
		

	</div>
	<div class="row">
	
		<div class="col-md-2 col-xs-4">
			<label>
			<fmt:message key="Product.price.title"/>:
			</label>
		</div>
		
		<div class="col-md-3 col-xs-8">	
			<form:input path="price" id="price" cssClass="{maxlength:10} form-control" maxlength="10" />
			<label class="error"><form:errors path="price"/></label>
		</div>
		

	
		<div class="col-md-2 col-xs-4">
			<label>
			<span class="required">*</span><fmt:message key="Product.productCategoryId.title"/>:
			</label>
		</div>
		
		<div class="col-md-3 col-xs-8">
			<form:select path="productCategory.id" cssClass="form-control {required:true,digits:true}" id="productCategory">
				<form:option value=""><fmt:message key="selection.label.pleaseselectone"/></form:option>
				<form:options items="${productCategoryList}" itemLabel="categoryName" itemValue="id"  />
			</form:select>
			<label class="error"><form:errors path="productCategory.id"/></label>
		</div>
		

	</div>
</div>

